package com.zxb.core.dao.autoform;

import com.zxb.core.dao.BaseEntity;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * @author Zxb
 */
@Data
public class DiyFilter extends BaseEntity {
    private Long formId;
    @NotBlank(message = "过滤器名称不能为空")
    private String name;
    @NotBlank(message = "过滤器内容不能为空")
    private String condition;
    private String username;
    private Integer sort;
}
